package com.project.blog.repository.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CategoryDao {

    @Select("SELECT count(*) from me_article where  category_id=#{categoryId}")
    int getCountByCategoryId(@Param("categoryId") Integer categoryId);


}
